#pragma once
#ifndef __LITTLE_FS_H__
#define __LITTLE_FS_H__
#include "lfs.h"

typedef enum
{
    LITTLE_FS_STATE_INVALID, // flash不能通信
    LITTLE_FS_STATE_NOT_USE, //未过产测不启用
    LITTLE_FS_STATE_VALID,   //正常使用
} little_fs_state_t;

extern lfs_t little_fs;
/**
 * @brief 初始化，可重复调用
 *
 * @return true
 * @return false
 */
bool little_fs_init(void);

little_fs_state_t little_fs_get_state(void);
#endif //!<__LITTLE_FS_H__
